function main(tbl){
	attr("roles",dao.query("sys_role",Cnd.where("id",">",1)))
	attr("units",dao.query("sys_unit"))
	return dao.fetch("sys_user",Cnd.where("id","=",tbl.id))||{code:tbl.code}
}